﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SanguoSharp
{
	public interface ISpectatorSessionControl
	{
		/// <summary>
		/// Gets the <see cref="ISpectator"/> controlled by this <see cref="ISpectatorControl"/>.
		/// </summary>
		ISpectator Spectator { get; }

		/// <summary>
		/// Gets the <see cref="ISession"/> instance representing the session.
		/// </summary>
		ISession Session { get; }

		/// <summary>
		/// Sends a chat message to the players and spectators in the session.
		/// </summary>
		/// <param name="message">
		/// The message to be sent.
		/// </param>
		void SendChatMessage (string message);

		/// <summary>
		/// Disconnects and removes the spectator from the session.
		/// </summary>
		void Disconnect();
	}
}
